package util;

import static org.junit.Assert.assertEquals;

import com.thoughtworks.xstream.XStream;

public abstract class XStreams {

	public static void assertXMLEquals(Object expected, Object actual) {
		String excpectedXml = new XStream().toXML(expected);
		String actualXml = new XStream().toXML(actual);
		assertEquals(excpectedXml, actualXml);
	}

}
